<template>
  <div class="page">
    123
  </div>
</template>

<script>
  export default {
    data() {
      return {
      }
    },

    components: {
    },
    computed: {
    },
    methods: {
    },
    mounted() {
    },
    created() {

    },
    onLoad(){
      // 调用云函数，返回用户openId，参数为云函数名称
      /*wx.cloud.callFunction({ name: 'user' }).then(res => {
        console.log(res)
        // 更新store中的openId
        // this.$store.commit('updateOpenId', res.result)
        return this.WXP.getSetting()
      })
        .then(res => {
          // 检验是否授权
          const authUserInfo = res.authSetting['scope.userInfo']
          if (authUserInfo) {
            this.$store.commit('updateAuthUserInfo', authUserInfo)
          }
        })
        .catch(err => console.error(err))*/
    },
    onShow(){
    },
    unLoad(){

    },
  }
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
  @import "../../css/base.scss";
  .page{
    display: flex;
  }
</style>
